<%@ page language="java" import="java.util.*,com.model.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <%
	  ArrayList<Beanuser> al=new ArrayList<Beanuser>();
	  locationBO lbo=new locationBO();
	  al=lbo.getLocation();
     %>   


</head>

  <body>
  <DIV id=u43 >
<DIV id=u43_rtf><p style="text-align:left;"><span style="font-family:Arial;font-size:20px;font-weight:bold;font-style:normal;text-decoration:none;color:#333333;">当前在线用户</span></p></DIV></DIV>
<form name="former" action="admin/singleSearchView.jsp" target="contentmap">
<SELECT  name="username" id=u37 size=2  style="width: 200px;height: 250px"  >
<% 	for(int i= 0;i<al.size();i++)
	 {
	     Beanuser lt=(Beanuser)al.get(i);
%>

<OPTION   value=<%=lt.getDeviceid()%>><%=lt.getName()%></OPTION>  
<%
}
%>

</SELECT>
<INPUT id=u38 type=button onclick="submit()"  value="即时查询"  style="width: 150px;height: 30px">
</form>
<DIV id=u39 >
<DIV id=u39_rtf><p style="text-align:left;"><span style="font-family:Arial;font-size:13px;font-weight:normal;font-style:normal;text-decoration:none;color:#333333;">请输入时间：</span></p></DIV></DIV>
<SELECT id=u40  >
<OPTION  value="月">月份</OPTION>
<%for(int i=1;i<13;i++) {%>
<OPTION  value=<%=i%>><%=i%></OPTION><%} %>
</SELECT>

<SELECT id=u41  >
<OPTION  value="日">日期</OPTION>
<%for(int i=1;i<32;i++) {%>
<OPTION  value=<%=i%>><%=i%></OPTION><%} %>
</SELECT>

<SELECT id=u42  >
<OPTION  value="时">小时</OPTION>
<%for(int i=0;i<24;i++) {%>
<OPTION  value=<%=i%>><%=i%></OPTION><%} %>
</SELECT>
<div style="height: 20"></div>
<INPUT id=u38 type=submit  value="历史查询"  style="width: 150px;height: 30px">
  </body>
</html>
